import request from '@/utils/request.js'

//查询所有咨询师
export const getAllCounselorService=()=>{
    return request.get('/feedback/getAllCounselor')
}


//提交反馈表
export const submitFeedbackService=(data)=>{
    return request.post('/feedback/submitFeedback',data)
}


//查询所有咨询师
export const isFeedService=(id)=>{
    return request.get('/feedback/isFeed',{
        params:{id:id}
    })
}


//查询当前预约单的反馈记录
export const getByAppIdService=(id)=>{
    return request.get('/feedback/getByAppId',{
        params:{id:id}
    })
}